﻿<!--
//*********************************************************
//
// Copyright (c) Microsoft. All rights reserved.
// This code is licensed under the MIT License (MIT).
// THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF
// ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY
// IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
// PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
//
//*********************************************************
-->

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <title></title>
    <script src="/js/scenario4_GiftDispatch.js"></script>
</head>

<body class="win-type-body">
    <div id="scenarioView">
        <div>
            <h2 id="sampleHeader" class="win-type-subheader">Description:</h2>
            <div id="scenarioDescription">
                <p>This sample demonstrates how to use XPath with XML APIs in the Windows Runtime to select and filter data in a DOM tree.</p>
                <p>To run the sample, click <b>Show Anniversary Gift</b> button. All employees will receive gift on their anniversary, the type of the gift depends on how long the employee has been working for the company to 2012.</p>
                <button id="scenario4BtnDefault" disabled="disabled" class="win-button">Show Anniversary Gift</button>
                <br>
            </div>
        </div>
        <div id="scenarioContent">
            <div>
                <h3 class="win-type-title">Employee Profile</h3>
                <textarea id="scenario4OriginalData" cols="60" name="employee_profile" readonly="readonly" rows="17" style="height:auto; width:auto" class="win-textarea"></textarea>
            </div>
            <div>
                <h3 class="win-type-title">Output</h3>
                <textarea id="scenario4Result" cols="60" name="output" readonly="readonly" rows="3" style="height:auto; width:auto" class="win-textarea"></textarea>
            </div>
        </div>
    </div>
</body>

</html>